<?php

namespace App\Http\Controllers\type;

use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class TypeController extends Controller
{
    public function getIndex()
    {	
    	$res=DB::table('type')->get();
    	
    	return view('shangcheng/goods/index',['res'=>$res]);
    }
}
